package com.kang.mapper;

import com.kang.pojo.Items;

import java.util.List;

/**
* @author 吃三明治派对中的康康
* @description 针对表【items】的数据库操作Mapper
* @createDate 2022-04-25 19:16:16
* @Entity com.kang.pojo.Items
*/
public interface ItemsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Items record);

    int insertSelective(Items record);

    Items selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Items record);

    int updateByPrimaryKey(Items record);

    Items searchOneByCatalog(String catalog);

    List<Items> searchAllItems();

    List<Items> searchAllByCatalog(String catalog);

    List<Items> searchIndexItems(String catalog);


}
